<?php $url = new Url();?>
<div id="main" class="nosidebar">                    
    <div id="content">

        <h2>Dự án mới</h2>

        <div id="errorExplanation">
            <ul>
                <li>Tên không thể để trắng</li>
                <li>Mã nhận dạng không thể để trắng</li>
                <li>Mã nhận dạng quá ngắn (tối thiểu 1 ký tự)</li>
            </ul>
        </div>

        <div class="box tabular">

            <p><label class="error" for="project_name">Tên<span class="required"> *</span></label><input id="project_name" name="project[name]" size="60" type="text"></p>
            <p><label for="project_description">Mô tả</label><textarea class="wiki-edit" cols="40" id="project_description" name="project[description]" rows="5"></textarea></p>
            <p><label class="error" for="project_identifier">Mã nhận dạng<span class="required"> *</span></label><input id="project_identifier" name="project[identifier]" size="60" type="text">
                <em class="info">Length between 1 and 100 characters. Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br>Once saved, the identifier cannot be changed.</em>
            </p>
            <p><label for="project_homepage">Trang chủ</label><input id="project_homepage" name="project[homepage]" size="60" type="text"></p>
            <p><label for="project_is_public">Công cộng</label><input name="project[is_public]" value="0" type="hidden"><input checked="checked" id="project_is_public" name="project[is_public]" value="1" type="checkbox"></p>
        </div>

        <!--<fieldset class="box tabular"><legend>Mô-đun</legend>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_issue_tracking" name="project[enabled_module_names][]" value="issue_tracking" type="checkbox">
        Theo dõi vấn đề
        </label>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_time_tracking" name="project[enabled_module_names][]" value="time_tracking" type="checkbox">
        Theo dõi thời gian
        </label>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_news" name="project[enabled_module_names][]" value="news" type="checkbox">
        Tin tức
        </label>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_documents" name="project[enabled_module_names][]" value="documents" type="checkbox">
        Tài liệu
        </label>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_files" name="project[enabled_module_names][]" value="files" type="checkbox">
        Tập tin
        </label>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_wiki" name="project[enabled_module_names][]" value="wiki" type="checkbox">
        Wiki
        </label>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_boards" name="project[enabled_module_names][]" value="boards" type="checkbox">
        Diễn đàn
        </label>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_calendar" name="project[enabled_module_names][]" value="calendar" type="checkbox">
        Calendar
        </label>
        <label class="floating">
        <input checked="checked" id="project_enabled_module_names_gantt" name="project[enabled_module_names][]" value="gantt" type="checkbox">
        Gantt
        </label>
        <input id="project_enabled_module_names_" name="project[enabled_module_names][]" value="" type="hidden">
        </fieldset>

        <fieldset class="box tabular" id="project_trackers"><legend>Dòng vấn đề</legend>
        <label class="floating">
        <input checked="checked" id="project_tracker_ids_" name="project[tracker_ids][]" value="1" type="checkbox">
        Bug
        </label>
        <label class="floating">
        <input checked="checked" id="project_tracker_ids_" name="project[tracker_ids][]" value="2" type="checkbox">
        Feature
        </label>
        <label class="floating">
        <input checked="checked" id="project_tracker_ids_" name="project[tracker_ids][]" value="3" type="checkbox">
        Support
        </label>
        <input id="project_tracker_ids_" name="project[tracker_ids][]" value="" type="hidden">
        </fieldset>-->

        <input name="commit" value="Tạo" type="submit">        
        <script type="text/javascript">
            //<![CDATA[
            $('#project_name').focus();
            //]]>
        </script>        

        <div style="clear:both;"></div>
    </div>
</div> 